package neuronet.common;

import neuronet.server.NeuroNetServer;

import org.apache.log4j.Logger;


public class NeuroNetControllerSThread extends Thread {

    // log4j-Logger
    private static Logger logger = Logger.getLogger(NeuroNetControllerSThread.class);
    
    private int serverPort;

    
    public NeuroNetControllerSThread(int serverPort)
    {
	this.serverPort = serverPort;
    }
    /**
     * The working method of the class Thread
     */
    public void run()
    {
	logger.info("Thread starting server on port " + serverPort);
	new NeuroNetServer(serverPort);
    }
}
